package com.wangfei.mapper;

import com.wangfei.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    User getById(Integer id);

    void insert(User user);

    List<User> getList(User user);
}
